package com.groupbuying.customer.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @anthor zmlmagic
 * @date 2019/1/7 9:26 AM
 * @company 蒙泰互联网公司
 * @des 测试controller
 **/

@Api("用户测试接口")
@RestController
@RequestMapping("/test")
public class TestController {

    @ApiOperation(value = "/getTest")
    @GetMapping("/getTest")
    @ResponseBody
    public String getTest() {
        return "this is customer service";
    }
}
